<?php
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message = $_POST['mensaje'];
$subject = "Contacto libreriaprieto.com";
$message = utf8_decode(stripslashes($message));
$headers .= "Content-Language:es-ve\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$headers .= "From: ".$_POST["email"];
if (mail("info@bibliotecaprieto.com",$subject,$message,$headers)) {
	echo "<p align='center' style=\"font-family:'Franklin Gothic Demi'; font-weight:bold;\">Gracias por sus comentarios.</p>";
} else {
	echo "<p align='center' style=\"color:red;font-family:'Franklin Gothic Demi'; font-weight:bold;\">Error al tratar de enviar el comentario.</p>";
}
?>

